#ifndef __XSIP_DIALOG_H__
#define __XSIP_DIALOG_H__
#include "xcall.h"

class XSIP_API XSIPDialog : public XSIPCall {
public:
	XSIPDialog();
	virtual ~XSIPDialog();
	virtual void* getObject(const char* name) const;

	virtual XSIPTransaction* createTransaction(XSIPRequest* request, XSIPTransport* transport);
	virtual XSIPResponse* createResponse(XSIPTransaction* transaction, XSIPRequest* request, int code);

	int sendAck(XSIPTransaction* transaction);
	virtual void onDialogClose(XSIPTransaction* transaction) = 0;
private:
};

#endif